import {
	request,
	hotelRequest,
	otherRequest
} from '@/sheep/request';

export default {
	// 获取vip信息
	detail: (params) =>
		otherRequest({
			url: '/shop/api/task/task/index',
			method: 'GET',
			params,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),

	// 创建订单

	transfer: (data) =>
		otherRequest({
			url: '/shop/api/task/transfer',
			method: 'POST',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	getList: (params) =>
		otherRequest({
			url: '/user/api/walletLog',
			method: 'GET',
			params,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
			
};